package com.woniu.sale.mapper;

import com.woniu.sale.entity.PurRequestreturn;
import com.woniu.sale.entity.PurRequestreturnExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface PurRequestreturnDao {
    long countByExample(PurRequestreturnExample example);

    int deleteByExample(PurRequestreturnExample example);

    int deleteByPrimaryKey(String beforepurchasertnno);

    int insert(PurRequestreturn record);

    int insertSelective(PurRequestreturn record);

    List<PurRequestreturn> selectByExample(PurRequestreturnExample example);

    PurRequestreturn selectByPrimaryKey(String beforepurchasertnno);

    int updateByExampleSelective(@Param("record") PurRequestreturn record, @Param("example") PurRequestreturnExample example);

    int updateByExample(@Param("record") PurRequestreturn record, @Param("example") PurRequestreturnExample example);

    int updateByPrimaryKeySelective(PurRequestreturn record);

    int updateByPrimaryKey(PurRequestreturn record);
}